TARGETS=test main 
all:$(TARGETS)

test:test.cc
	g++ -o $@ $^ -std=c++17 -lpthread
main:main.cc 
	g++ -o $@ $^ -std=c++17 -lpthread
.PHONY:clean
clean:
	rm $(TARGETS) -fv